home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / epmgcc30.zip / GCCCONST.E < prev    next >
Text File  |  1996-06-21  |  5KB  |  111 lines

  1. /*
  2. ╔══════════════════════════════════════════════════════════════════════════════╗
  3. ║ What's it called: EPMGCC  V3.00                                              ║
  4. ║                                                                              ║
  5. ║ What does it do:  The E source code for the GCC-Interface for EPM.           ║
  6. ║                   This file contains definition of common constants used     ║
  7. ║                   by gcc.e and gccactn.e. This file should be included after ║
  8. ║                   gccenv.e.                                                  ║
  9. ║                                                                              ║
  10. ║ Who and When:     B. Bablok 12/93 - 07/96                                    ║
  11. ║                                                                              ║
  12. ╚══════════════════════════════════════════════════════════════════════════════╝
  13.  
  14. ┌──────────────────────────────────────────────────────────────────────────────┐
  15. │  Defining default constants if not defined in GCCENV.E                       │
  16. └──────────────────────────────────────────────────────────────────────────────┘
  17. */
  18.  
  19. COMPILE IF not defined(GCC_MENU_ALWAYS_ON)
  20.    CONST   GCC_MENU_ALWAYS_ON = 0              --  default is to grey out GCC-
  21. COMPILE ENDIF                                  --  menu for non c/cc files
  22.  
  23. COMPILE IF not defined(GCC_D_COMPILE_OPTIONS)
  24.    CONST   GCC_D_COMPILE_OPTIONS = '-c -g %*'  --  default: compile and create
  25. COMPILE ENDIF                                  --  debug information
  26.  
  27. COMPILE IF not defined(GCC_P_COMPILE_OPTIONS)
  28.    CONST GCC_P_COMPILE_OPTIONS = '-O2 -o %**P%**N.exe %*' --  default: compile
  29. COMPILE ENDIF                                             --  with optimization
  30.                                                           --  and link
  31.  
  32. COMPILE IF not defined(GCC_D_BUILD_OPTIONS)
  33.    CONST   GCC_D_BUILD_OPTIONS = '-k -f %* MODE=D' -- default debug build option
  34. COMPILE ENDIF
  35.  
  36. COMPILE IF not defined(GCC_P_BUILD_OPTIONS)
  37.    CONST   GCC_P_BUILD_OPTIONS = '-k -f %* MODE=P' -- default production build
  38. COMPILE ENDIF                                      -- options
  39.  
  40. COMPILE IF not defined(GCC_AUTOSAVE_FILE)
  41.    CONST   GCC_AUTOSAVE_FILE = 1               --  default is to turn on smart
  42. COMPILE ENDIF                                  --  save before compile
  43.  
  44. COMPILE IF not defined(GCC_DEBUG_MODE)
  45.    CONST   GCC_DEBUG_MODE = 1                  -- default is to turn on debug -
  46. COMPILE ENDIF                                  -- mode
  47.  
  48. COMPILE IF not defined(GCC_VERBOSE_MODE)
  49.    CONST   GCC_VERBOSE_MODE = 0                -- default is to turn off verbose
  50. COMPILE ENDIF                                  -- mode
  51.  
  52. COMPILE IF not defined(GCC_REMOVE_MODE)
  53.    CONST   GCC_REMOVE_MODE = 0                 -- default is to turn off auto-
  54. COMPILE ENDIF                                  -- remove of .err-files
  55.  
  56. COMPILE IF not defined(GCC_SETTINGS_MODE)
  57.    CONST   GCC_SETTINGS_MODE = 1               -- default is to save settings
  58. COMPILE ENDIF                                  -- at exit
  59.  
  60. COMPILE IF not defined(GCC_EDIT_COMMAND)
  61.    CONST   GCC_EDIT_COMMAND = 'start /c /win epro'
  62. COMPILE ENDIF
  63.  
  64. COMPILE IF not defined(GCC_COMP_COMMAND)
  65.    CONST   GCC_COMP_COMMAND = 'start /n /win gcc'
  66. COMPILE ENDIF
  67.  
  68. COMPILE IF not defined(GCC_BUILD_COMMAND)
  69.    CONST   GCC_BUILD_COMMAND = 'start /n /win make'
  70. COMPILE ENDIF
  71.  
  72. COMPILE IF not defined(GCC_DEBUG_COMMAND)
  73.    CONST   GCC_DEBUG_COMMAND = 'start /n /win gdb'
  74. COMPILE ENDIF
  75.  
  76. COMPILE IF not defined(GCC_WANT_TRANSLATE)
  77.    CONST   GCC_WANT_TRANSLATE = 1
  78. COMPILE ENDIF
  79.  
  80. COMPILE IF not defined(GCC_PARSER_MODULE)
  81.    CONST   GCC_PARSER_MODULE = 'gccparse'
  82. COMPILE ENDIF
  83.  
  84. /*
  85. ┌───────────────────────────────────────────────────────────────────────────────┐
  86. │   English language support for GCC menu and toolbar help                      │
  87. └───────────────────────────────────────────────────────────────────────────────┘
  88. */
  89. CONST
  90.   GCC_MENU__MSG      = \1'Menus related to GCC support'
  91.   GCC_OPEN__MSG      = \1'Open (define) the current project'
  92.   GCC_SEL__MSG       = \1'Select the current project from previous projects'
  93.   GCC_EDIT__MSG      = \1'Edit the current project'
  94.   GCC_SELECT__MSG    = \1'Select compiler'
  95.   GCC_CLOSE__MSG     = \1'Close the current project'
  96.   GCC_COMP_OPT__MSG  = \1'Set compile options'
  97.   GCC_COMP__MSG      = \1'Compile the current file'
  98.   GCC_BUILD_OPT__MSG = \1'Set build options'
  99.   GCC_BUILD__MSG     = \1'Build the current project'
  100.   GCC_VIEW__MSG      = \1'View compile results'
  101.   GCC_RUN__MSG       = \1'Run EXE - file'
  102.   GCC_DEBUG__MSG     = \1'Debug EXE - file'
  103.   GCC_DEBUGMODE__MSG = \1'Toggle debug-mode'
  104.   GCC_AUTOSAVE__MSG  = \1'Toggle autosave mode'
  105.   GCC_VERBOSE__MSG   = \1'Verbose mode for troubleshooting GCC commands'
  106.   GCC_REMOVE__MSG    = \1'Toggle automatic removing of .err files from edit-ring'
  107.   GCC_SETTINGS__MSG  = \1'Toggle saving of settings in epm.ini'
  108.   GCC_PREV_ERR__MSG  = \1'Show previous compiler error'
  109.   GCC_CURR_ERR__MSG  = \1'Show current compiler error'
  110.   GCC_NEXT_ERR__MSG  = \1'Show next compiler error'
  111.